package com.zhu.bean;

import java.io.Serializable;

public class Rent implements Serializable {
    private int id;
    private String title;
    private Type type;
    private int area;
    private int price;
    private String houseDate;
    private District district;
    private Street street;
    private String contact;
    private String descp;
    private String nickName;


    public Type getType() {
        return type;
    }

    public void setType(Type type) {
        this.type = type;
    }

    public int getId() {
        return id;
    }


    public void setId(int id) {
        this.id = id;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }


    public int getArea() {
        return area;
    }

    public void setArea(int area) {
        this.area = area;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getHouseDate() {
        return houseDate;
    }

    public void setHouseDate(String houseDate) {
        this.houseDate = houseDate;
    }

    public District getDistrict() {
        return district;
    }

    public void setDistrict(District district) {
        this.district = district;
    }

    public Street getStreet() {
        return street;
    }

    public void setStreet(Street street) {
        this.street = street;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getDescp() {
        return descp;
    }

    public void setDescp(String descp) {
        this.descp = descp;
    }

    public Rent(String title, Type type, int area, int price, String houseDate, District district, Street street, String contact, String descp, String nickName) {
        this.title = title;
        this.type = type;
        this.area = area;
        this.price = price;
        this.houseDate = houseDate;
        this.district = district;
        this.street = street;
        this.contact = contact;
        this.descp = descp;
        this.nickName = nickName;
    }

    public Rent() {
    }
}
